package com.hrt.common.db;

import com.btcode.db.executer.IDataExecuter;
import com.btcode.orm.executer.IORMExecuter;

public final class CommonDBManager {

    private static IDataExecuter dataExecuter;
    private static IORMExecuter ormExecuter;


    public static void setDataExecuter(IDataExecuter dataExecuter) {

        CommonDBManager.dataExecuter = dataExecuter;
    }


    public static void setOrmExecuter(IORMExecuter ormExecuter) {

        CommonDBManager.ormExecuter = ormExecuter;
    }

    public static IDataExecuter getDataExecuter() {

        return dataExecuter;

    }

    public static IORMExecuter getORMExecuter() {

        return ormExecuter;

    }

}
